﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Weight.Base;

namespace Weight.Model
{
    public class RoleEntity
    {
        /// <summary>
        /// 编号
        /// </summary>
        private string id;
        /// <summary>
        /// 角色名称
        /// </summary>
        private string roleName;
        //描述
        private string memo;
        /// <summary>
        /// 创建日期
        /// </summary>
        private string creatDate;
        /// <summary>
        /// 创建人
        /// </summary>
        private string creator;

        /// <summary>
        /// 简拼
        /// </summary>
        private string simplicity;

        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get => id; set => id = value; }

        /// <summary>
        /// 角色名称
        /// </summary>
        [Required(error = "角色名称不能为空")]
        public string RoleName { get => roleName; set => roleName = value; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Memo { get => memo; set => memo = value; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public string CreatDate { get => creatDate; set => creatDate = value; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get => creator; set => creator = value; }

       /// <summary>
       /// 简拼
       /// </summary>
        public string Simplicity { get => simplicity; set => simplicity = value; }
    }
}
